<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div {
            width: 300px;
            height: 300px;
            /* background-image----添加背景图片，注意：不要漏掉url（） */
            background-image: url(scale.jpg);
            /* repeat（默认）----页面平铺,no-repeat----取消页面平铺，repeat-x----横向平铺，repeat-y----竖向平铺 */
            background-repeat: no-repeat;

            
        }
    </style>gen'z

</head>
<body>

    <div>
        
        
    </div>
    
</body>
</html>